home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 008a / perl40_2.zip / ARRAY.H < prev    next >
C/C++ Source or Header  |  1991-11-28  |  799b  |  41 lines

  1. /* $RCSfile: array.h,v $$Revision: 4.0.1.1 $$Date: 91/06/07 10:19:20 $
  2.  *
  3.  *    Copyright (c) 1991, Larry Wall
  4.  *
  5.  *    You may distribute under the terms of either the GNU General Public
  6.  *    License or the Artistic License, as specified in the README file.
  7.  *
  8.  * $Log:    array.h,v $
  9.  * Revision 4.0.1.1  91/06/07  10:19:20  lwall
  10.  * patch4: new copyright notice
  11.  *
  12.  * Revision 4.0  91/03/20  01:03:44  lwall
  13.  * 4.0 baseline.
  14.  *
  15.  */
  16.  
  17.  
  18. struct atbl {
  19.     STR    **ary_array;
  20.     STR **ary_alloc;
  21.     STR *ary_magic;
  22.     int ary_max;
  23.     int ary_fill;
  24.     char ary_flags;
  25. };
  26.  
  27.  
  28. #define ARF_REAL 1    /* free old entries */
  29.  
  30.  
  31. STR *afetch();
  32. bool astore();
  33. STR *apop();
  34. STR *ashift();
  35. void afree();
  36. void aclear();
  37. bool apush();
  38. int alen();
  39. ARRAY *anew();
  40. ARRAY *afake();
  41.